package com.greateamd.timetableasy.client.services.course;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.greateamd.timetableasy.domain.Course;
import com.greateamd.timetableasy.domain.StudyPeriod;


public interface CourseServiceAsync {

	void remove(Course course, AsyncCallback<Boolean> callback);
	void find(int id, AsyncCallback<Course> callback);
	void update(Course course, AsyncCallback<Boolean> callback);
	void save(Course course, AsyncCallback<Boolean> callback);
	void getAll(AsyncCallback<List<Course>> callback);
	void getAllOfStudyPeriod(StudyPeriod sp,AsyncCallback<List<Course>> callback);
}
